package com.itheima.reggie.service;

import com.baomidou.mybatisplus.extension.service.IService;
import com.itheima.reggie.dto.UserDto;
import com.itheima.reggie.entity.User;

/**
 * @author Jiang
 * @date 2022/2/16
 */
public interface UserService extends IService<User> {

    /**
     * 用户登录或者注册
     *
     * @param user
     */
    User loginOrRegister(UserDto user);
}
